<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rss="http://purl.org/rss/1.0/"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:l="http://purl.org/rss/1.0/modules/link/"
xmlns:content="http://purl.org/rss/1.0/modules/content/">


<xsl:template match="/rdf:RDF">
<xsl:element name="html">
<body>
<font face="Arial" size="small">
<table cellpadding="2" cellspacing="2" bgcolor="#333366">
<tbody>
<tr>
<th align="left">
<font color="white">
<xsl:value-of select="//rss:channel/rss:title"/>
</font>
</th>
</tr>
<tr>
<td bgcolor="white">
	 <xsl:apply-templates select="//rss:item" />

</td>
</tr>
</tbody>
</table>
</font>
</body>
</xsl:element>
</xsl:template>

<xsl:template match="rss:item">
	<table cellpadding="4" cellspacing="0" width="100%">
		<tbody>
			<tr bgcolor="#ccccff">
				<xsl:if test="count(child::enclosure)=1">
					<td valign="middle">
						<img src="{rss:enclosure/@url}"/>
					</td>
				</xsl:if>
				<td valign="middle" width="100%">
					<b>
						<a href="{rss:link}">
							<xsl:value-of select="rss:title"/>
						</a>
						<br/>
						<xsl:if test="count(child::pubDate)=1">
							<font color="#333366">Posted: <xsl:value-of select="rss:pubDate"/></font>
						</xsl:if>
					</b>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<div class="itemcontent" name="decodeable">
						<xsl:call-template name="outputContent"/>
					</div>
				</td>
			</tr>
		</tbody>
	</table>  
</xsl:template>
<xsl:template name="outputContent">
	<xsl:choose>
		<xsl:when xmlns:xhtml="http://www.w3.org/1999/xhtml" test="xhtml:body">
			<xsl:copy-of select="xhtml:body/*"/>
		</xsl:when>
		<xsl:when xmlns:xhtml="http://www.w3.org/1999/xhtml" test="xhtml:div">
			<xsl:copy-of select="xhtml:div"/>
		</xsl:when>
		<xsl:when xmlns:content="http://purl.org/rss/1.0/modules/content/" test="content:encoded">
			<xsl:value-of select="content:encoded" disable-output-escaping="yes"/>
		</xsl:when>
		<xsl:when test="rss:description">
			<xsl:value-of select="rss:description" disable-output-escaping="yes"/>
		<hr size="1" width="95%" style="color:#FF1493"></hr>
		</xsl:when>
	</xsl:choose>
</xsl:template>
</xsl:stylesheet>
